package com.demo.ecpPDF.controller;

import com.demo.ecpPDF.Biz;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Validated
@RestController
//@Scope(value = WebApplicationContext.SCOPE_REQUEST)
@RequestMapping("/say")
public class HelloController {

    @GetMapping("/a")
    public String a() {
        return Biz.biz();
    }

    @GetMapping("/b")
    public String b() {
        return "b2";
    }

    @GetMapping("/c")
    public String c() {
        return "c";
    }


    @GetMapping("/e")
    public String e() {
        return "e";
    }
}



